package com.cskaoyan.mall.mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import com.cskaoyan.mall.bean.Role;

/**
 *Created by Zsp
 *2021/1/10
 */
public interface RoleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    List<Role> selectAll();

    List<Role> selectOrderByAddTimeDesc(@Param("name") String name, @Param("sort") String sort, @Param("order") String order);



}